<?php $this->load->view('left'); ?>
<style type="text/css">
#title1  a{
	display:block;
	float:left;
	color:white;
	width:210px;
	height:37px;
    font-size:14px;
	font-weight:bold;
	text-align:center;
	padding-top:8px;
	background:url(images/bg-menu-item-green.gif) no-repeat;
	margin-bottom:50px;
}
table{
	clear:both;
}
</style>
<script type="text/javascript">
	function check()
	{
		if($("#cate").val()=="")
		{
			$("#cate").focus();
			return false;
			}
		}
</script>
<div id="title1">
<?php echo anchor(site_url('welcome/add_category'),'Add First Category'); ?>
<?php echo anchor(site_url('welcome/add_second_category'),'Add Second Category');?>
</div>
<br />
<br />
<br />
<br />
<form action="<?php echo site_url('welcome/insert_category')?>" method="post" >
	<table>
	<tr>
	<td>Category Name:</td> <td><input type="text" name="cate" id="cate"/></td>
	</tr>
	<tr><td><input type="submit" name="sub" id="sub" value="ADD" onclick="return check()"/></td><td><input type="reset" name="reset" id="reset" value="RESET" /></td></tr>
	</table>
</form>
<?php $this->load->view('right'); ?>